<template>
	<section class="orderSearch">
			<common-head></common-head>
			<div class="searchImg"  id="click2second" v-show="activeP==='SFZ'">
				<img src="../assets/person.gif" />
				<p>{{imgWord}}</p>
				<p class="change"  @click="change('phone')">换个方式<span >手机号码查询</span></p>
			</div>
			<div class="searchImg"  v-show="activeP==='phone'">
				<input type="text" id="" value="" class="input_phone"  placeholder="输入手机号码"/>
				<input type="text" id="" value="" class="input_yan"  placeholder="输入验证码"/><span class="fasong">发送验证码</span>
				<span class="chaxun">查询</span>
				<p class="change"  @click="change('SFZ')">换个方式<span >身份证查询</span></p>
			</div>
	</section>
</template>

<script>
	import commonHead from "@/components/head"
	export default{
		components:{
			commonHead
		},
		data(){
			return{
				imgWord:'请把您的身份证放在感应区',
				activeP:'SFZ'
			}
		},
		methods:{
			goNext(){
				this.$router.push({name:'orderDetail'})
			},
			change(val){
				this.activeP = val;
			}
		},
        mounted(){
            setTimeout(()=>{
                this.goNext();
            },3500)
        }
	}

</script>

<style scoped="scoped">
	.searchImg{
		width: 315px;
		height: 425px;
		margin: auto auto;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	p{
		text-align: center;
		margin: 10px;
		font-size: 20px;
	}
    .searchImg img{
        margin-left:-50px;
        width: 400px;
    }
    .change{
    	font-size: 13px;
    	color: #979494;
    }
    .change span{
    	font-size: 20px;
    	color: rgb(214,112,2);
    	font-weight: 600;
    	border-bottom: solid;
    	cursor: pointer;
    }
    .input_phone{
    	 width: 100%;
	    height: 36px;
	    border: solid 2px #3333339c;
	    padding-left: 8px;
	        box-sizing: border-box;
    }
    .input_yan{
    	width: 200px;
	    height: 36px;
	    border: solid 2px #3333339c;
	    margin-top: 15px;
	    padding-left: 8px;
	        box-sizing: border-box;
    }
    .fasong{
    	float: right;
	    margin-top: 14px;
	    background: rgb(214,112,2);
	    padding: 8px 10px;
	    color: #fff;
	    font-size: 16px;
	    cursor: pointer;
    }
    .chaxun{
    	display: inline-block;
    	width: 100%;
    	height: 36px;
    	background:rgb(214,112,2);
    	color: #fff;
    	text-align: center;
    	line-height: 36px;
    	margin-top: 15px;
    	border-radius: 3px;
    }

</style>
